package CommandPattern;

/**
 * 请求者
 *
 */
public class Invoker {

	private Command command;
	
	public void setCommand(Command command){
		this.command = command;
	}
	
	public void runCommand() {
       command.execute();
    }
}
